<template>
  <div class="dashboard-container">
    <div class="dashboard-text">管理员: <span style="color: #20a0ff">{{ name }}</span></div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Home',
  data() {
    return {
    }
  },
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  created() {
  },
  methods: {
  }
}
</script>
<style lang="scss" scoped>
.dashboard {
  &-text {
    background: #f5f5f5;
    font-size: 25px;
    padding-left: 20px;
    line-height: 46px;
  }
}
.table-box{margin: 20px;padding: 20px;
  .table-box-title{
    color: #2ab4c0;
    font-size: 18px;
    margin-bottom: 15px;
  }
}
</style>
